package com.bristua.user.dao;

import com.bristua.user.model.TUserAccount;
import com.bristua.user.model.condition.TUserAccountExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TUserAccountMapper {
    int countByExample(TUserAccountExample example);

    int deleteByExample(TUserAccountExample example);

    int deleteByPrimaryKey(String userAccountId);

    int insert(TUserAccount record);

    int insertSelective(TUserAccount record);

    List<TUserAccount> selectByExample(TUserAccountExample example);

    TUserAccount selectByPrimaryKey(String userAccountId);

    int updateByExampleSelective(@Param("record") TUserAccount record, @Param("example") TUserAccountExample example);

    int updateByExample(@Param("record") TUserAccount record, @Param("example") TUserAccountExample example);

    int updateByPrimaryKeySelective(TUserAccount record);

    int updateByPrimaryKey(TUserAccount record);
}